<template>
  <h3>事件参数</h3>
  <p @click="getNamesHandler(item, $event)" v-for="(item, index) of names" :key="index">{{ item }}</p>
</template>

<script>
export default {
  data() {
    return {
      names: ['vue', 'iwe', 'nawr']
    }
  }
  , methods: {
    getNamesHandler(name, e) {
      console.log(name)
      console.log(e);

    }
  }
}
</script>